<?php
/* @var $this AnswerController */
/* @var $model Answer */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'answer-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'issueID'); ?>
		<?php echo $form->textField($model,'issueID'); ?>
		<?php echo $form->error($model,'issueID'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'thread_number'); ?>
		<?php echo $form->textField($model,'thread_number'); ?>
		<?php echo $form->error($model,'thread_number'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'resolver'); ?>
		<?php echo $form->textField($model,'resolver'); ?>
		<?php echo $form->error($model,'resolver'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'editor'); ?>
		<?php echo $form->textField($model,'editor'); ?>
		<?php echo $form->error($model,'editor'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'resolve_status'); ?>
		<?php echo $form->textField($model,'resolve_status'); ?>
		<?php echo $form->error($model,'resolve_status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'edit_status'); ?>
		<?php echo $form->textField($model,'edit_status'); ?>
		<?php echo $form->error($model,'edit_status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'content'); ?>
		<?php echo $form->textArea($model,'content',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'content'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'comment'); ?>
		<?php echo $form->textArea($model,'comment',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'comment'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'createddate'); ?>
		<?php echo $form->textField($model,'createddate'); ?>
		<?php echo $form->error($model,'createddate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'modifieddate'); ?>
		<?php echo $form->textField($model,'modifieddate'); ?>
		<?php echo $form->error($model,'modifieddate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'assign_edit_date'); ?>
		<?php echo $form->textField($model,'assign_edit_date'); ?>
		<?php echo $form->error($model,'assign_edit_date'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'editeddate'); ?>
		<?php echo $form->textField($model,'editeddate'); ?>
		<?php echo $form->error($model,'editeddate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'deleted'); ?>
		<?php echo $form->textField($model,'deleted'); ?>
		<?php echo $form->error($model,'deleted'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->